<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="csrf-token" content="{{ csrf_token()}}">
	<title>个人中心</title>
	<link rel="stylesheet" href="{{ asset('/home/css/mycss.css')}}"/>
	<link rel="stylesheet" href="{{ asset('/home/css/base.css')}}"/>
	<link rel="stylesheet" href="{{ asset('/home/css/alter.css')}}"/>

	<script type="text/javascript" src="{{asset('/jquery-1.8.3.min.js')}}"></script>
	<style type="text/css">
		#myBody1{
			width:750px;
			height:500px;
		}
	</style>
</head>
<body>
     
	<div id='myHead1'></div>
	<div id='myHead2'>
		<img src="{{asset('/home/img/log.jpg')}}"/>
		<span style="font-size:20px;"><a href="{{url('/home/index')}}"> &nbsp &nbsp &nbsp &nbsp &nbsp魅族商城</a></span>
		<div><a href="{{asset('/home/user/logout')}}"> &nbsp&nbsp退出 </a></div>
		<div><a href="{{asset('/home/user/menu')}}">用户：{{session('master') -> userName}}&nbsp&nbsp|</a></div>
	</div>

    <div id="myBody1" >
        <span style="margin:0 auto">账户管理</span>
        <form action="{{url('/home/user/update')}}" method="post">

        {{csrf_field()}}

        <table width='900' height='400' id="myTable">
             <tr>
        	    <td width='100' style='text-align:center'>昵称</td>
        	    <td>
        	        <input type='text' value="{{session('master') -> userName}}" name="userName"/>
        	    </td>
                <input type='hidden'  name='id' value="{{session('master') -> id}}"/>
            </tr>
             <tr>	
        	     <td>原密码</td>
        	     <td class="td">
        	     	<input type='password' value="" name="oldPassword" placeholder="请输入原密码" />
        	     </td> 
             </tr>
             <tr>	
        	     <td>新密码</td>
        	     <td class="td">
        	     	<input type='password' value="" name="password" placeholder="亲输入新密码" />
        	     </td> 
             </tr>
             <tr>
        	     <td>邮箱</td>
        	     <td class="td">
        	        <input type='text' value="{{session('master') -> email}}" name="email"/>
        	     </td>

        	 </tr>
        	 <tr>    
        	     <td>手机号码</td>
        	       <td class="td">
        	          <input type='text' value="{{session('master') -> phone}}" name="phone"/>
        	       </td>        	 
        	  </tr>    
        	  <tr>
        	     <td><div><button type="submit" >确认修改</button></td>
        	  </tr>
        </table>
      </form>
    </div>
	<div>
	<div>
		<div class='footer-layer1' style="margin-left:200px;">
			<div class='footer-innerLink'>
				<a href="http://www.meizu.com/about.html" target="_blank" title="关于魅族">关于魅族</a>
				<img class="foot-line" src="https://uc-res.meizu.com/resources/common/images/default/space.gif">
				<a href="http://hr.meizu.com" target="_blank" title="工作机会">工作机会</a>
				<img class="foot-line" src="https://uc-res.meizu.com/resources/common/images/default/space.gif">
				<a href="http://www.meizu.com/contact.html" target="_blank" title="联系我们">联系我们</a>
				<img class="foot-line" src="https://uc-res.meizu.com/resources/common/images/default/space.gif">
				<a href="http://www.meizu.com/legalStatement.html" target="_blank" title="法律声明">法律声明</a>
				<img class="foot-line" src="https://uc-res.meizu.com/resources/common/images/default/space.gif">
				<a href="javascript:void(0);" id="globalName" class="footer-language" title="简体中文">简体中文&nbsp;&nbsp;&nbsp;</a>
			</div>
			<div class='footer-service'>
				<span class='service-label'>客服热线</span>
				<span class='service-num'>400-788-3333</span>
				<a id='service-online' class='service-online' href="javascript:void(0);" title="在线客服">在线客服</a>
			</div>
			<div class='footer-outerLink' style="margin-right:300px;">
				<a class='footer-sinaMblog' href="http://weibo.com/meizumobile" target="_blank"><img src="{{asset('/home/img/1.jpg')}}"></i></a>
				
				<a id='footer-weChat' class='footer-weChat' href="javascript:void(0);" target="_blank"><img src="{{asset('/home/img/2.jpg')}}"></i></a>
				<a class='footer-qzone' href="http://user.qzone.qq.com/2762957059" target="_blank"><img src="{{asset('/home/img/3.jpg')}}"></i></a>
			</div>
			<div id="globalContainer" class="footer-language_menu">
				<a href="javascript:void(0)" id="i18n-link" title="English" class="ClobalItem">English</a>
	            <script>
					;(function() {
						var u = decodeURIComponent(location.href)
		                var r = /lang=([^&\s]+)/
		                var lowB = !('addEventListener' in window)
		                var addEvent = lowB ? window.attachEvent : window.addEventListener

						if(r.test(u)) u = u.replace(r, 'lang=en_US')
						else u += (~u.indexOf('?') ? '&' : '?') + 'lang=en_US'

						addEvent(lowB ? 'onload' : 'load', function() {document.getElementById('i18n-link').setAttribute('href',u)})
					}());
				</script>
			</div>
		</div>
		<div class='clear'></div>
		<div id='flymeCopyright' class="copyrightWrap">
			<div class="copyrightInner">
				<span>©2016 Meizu Telecom Equipment Co., Ltd. All rights reserved.</span>
				<a href="http://www.miitbeian.gov.cn/" class='linkAGray' target="_blank">备案号: 粤ICP备13003602号-4</a>
				<a href="http://www3.res.meizu.com/static/cn/widget/footer/images/icp2_b2dcb54.jpg" class='linkAGray' target="_blank">经营许可证编号: 粤B2-20130198</a>
				<a target="_blank" href="http://www2.res.meizu.com/zh_cn/images/common/com_licence.jpg" hidefocus="true" class="linkAGray">营业执照</a>
			</div>
		</div>
	</div>
</div>
<div id="wechatPic"></div>

</body>
</html>																												
																																